package com.example.a02back.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @ClassName returnMessage
 * @Description
 * @Author SimpChaos
 * @Date 2022/7/21 1:22
 * @Version 1.0
 **/
public class returnMessage {
    /**
     * 聊天消息ID
     */
    private Long messageId;

    /**
     * 消息发送者ID
     */
    private String sender;

    /**
     * 头像
     */
    private String avatarUrl;


    /**
     * 接收者ID
     */

    private String receiver;

    /**
     * 聊天消息内容
     */

    private String content;

    /**
     * 消息是否已读
     */

    private Integer isRead;

    /**
     * 网络请求ID
     */

    private String requestId;


    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }
}
